'''
 * OSSD project 
 * Google app engine that gives gmtime 
 * bjarkik12 magnusk12
'''
import webapp2, time
from datetime import tzinfo, timedelta, datetime

class MainPage(webapp2.RequestHandler):

    def get(self):
        self.response.headers['Content-Type'] = 'text/plain'
        epochTime = time.mktime(time.gmtime())
	    # return count of sec since 1/1/1970
        self.response.write(epochTime)

application = webapp2.WSGIApplication([
    ('/', MainPage),
], debug=True)